package tuc.lagerplan.gui;

import org.eclipse.swt.widgets.*;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.window.*;
import org.eclipse.swt.SWT;

/**
 * Das Hauptfenster der Lagerplan-Anwendung via JFACE
 * @author MIFE
 *
 */
public class LagerplanApplicationWindow extends ApplicationWindow
{
	private LagerplanApplicationWindow application;
	
	public LagerplanApplicationWindow()
	{
		super(null);
	}
	protected Control createContents(Composite parent)
	{
		Composite container = new Composite(parent, SWT.NONE);
		getShell().setText("Widget Window");
		parent.setSize(400,250);
		return container;
	}
	
	public static void main(String[] args)
	{
		LagerplanApplicationWindow wwin = new LagerplanApplicationWindow();
		wwin.setBlockOnOpen(true);
		wwin.open();
		Display.getCurrent().dispose();
	}
	private void createActions() {
	}
	
}